package com.school.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.school.admin.entity.MallSysPurview;
import com.baomidou.mybatisplus.extension.service.IService;
import com.school.admin.entity.vo.PurviewSaveVo;
import com.school.admin.entity.vo.PurviewVo;

import java.util.List;

/**
 * <p>
 * 接口权限表 服务类
 * </p>
 *
 * @author sunpx
 * @since 2022-03-24
 */
public interface MallSysPurviewService extends IService<MallSysPurview> {


  /**
   * 查询角色列表
   * @author : sunpx
   * @param
   * @return java.util.List<com.school.admin.entity.vo.PurviewVo>
   * @date : 2022-03-26 18:48:18
   */
  Page<PurviewVo> getApiAll(Page<Object> page,PurviewVo purviewVo);

  /**
   * 保存权限绑定
   * @author : sunpx
   * @param purviewVo
   * @return void
   * @date : 2022-03-26 18:47:58
   */
  void savePurview(PurviewSaveVo purviewVo);


  List<PurviewVo> queryRolePurview(String rid);
}
